package com.mark.tim.kutspel;

public class Plane {
	private int x;
	private int y;
	private int width;
	private int height;
	private int margin;
	
	private float speed;
	
	public Plane() {
		x = 100;
		y = 100;
		width = 117;
		height = 150;
		margin = 50;
		
		speed = PlayView.getFactor()*2f;
	}

	// getters and setters
	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}
	
	public int getMargin() {
		return margin;
	}
	
	public void setMargin(int margin) {
		this.margin = margin;
	}
	
	public float getSpeed() {
		return speed;
	}
	
	public void setSpeed(float speed) {
		this.speed = speed;
	}
}
